import { combineReducers, createStore } from 'redux'

import community from './reducers/community'
const rootReducer = combineReducers({
  community
})

const store = createStore(
  rootReducer,
  window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()
)

export default store
